package com.mycode.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mycode.domain.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * Created by Zengsh123 on 2020/3/10.
 */
@Mapper
public interface PaymentMapper extends BaseMapper<Payment> {
    public int insert(Payment payment);

    public Payment getPaymentById(@Param("id") Long id);
}